<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: weidong
  Date: 2018/4/30
  Time: 23:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="col-md-2 bootstrap-admin-col-left">
    <ul class="nav navbar-collapse collapse bootstrap-admin-navbar-side">
        <li
                <c:if test="${function == 1}">class="active"</c:if> >

            <a href="${pageContext.request.contextPath}/teacher/index">
                <i class="glyphicon glyphicon-chevron-right"></i> 主页
            </a>
        </li>
        <li
                <c:if test="${function == 2}">class="active"</c:if> >

            <a href="${pageContext.request.contextPath}/teacher/exam/list">
                <i class="glyphicon glyphicon-chevron-right"></i> 试卷列表
            </a>
        </li>
        <li
                <c:if test="${function == 3}">class="active"</c:if> >

            <a href="${pageContext.request.contextPath}/teacher/exam/add">
                <i class="glyphicon glyphicon-chevron-right"></i> 试卷添加
            </a>
        </li>

        <li
                <c:if test="${function == 4}">class="active"</c:if> >
            <a href="${pageContext.request.contextPath}/teacher/question/singles">
                <i class="glyphicon glyphicon-chevron-right"></i> 单选题
            </a>
        </li>


        <li
                <c:if test="${function == 5}">class="active"</c:if> >
            <a href="${pageContext.request.contextPath}/teacher/question/multis">
                <i class="glyphicon glyphicon-chevron-right"></i> 多选题
            </a>
        </li>
        <li
                <c:if test="${function == 6}">class="active"</c:if> >
            <a href="${pageContext.request.contextPath}/teacher/question/judges">
                <i class="glyphicon glyphicon-chevron-right"></i> 判断题
            </a>
        </li>
        <li>
            <a href="${pageContext.request.contextPath}/">
                <i class="glyphicon glyphicon-chevron-right"></i> 关于我们
            </a>
        </li>
    </ul>
</div>
